import request from './../utils/request'

export function getPhaList() {
    return request.get('/pharmacist/pharmacistList')
}

export function getPhaListOne(params) {
    return request.get('/pharmacist/pharmacistOne', { params })
}

export function addPharmacist(params) {
    return request.post('/pharmacist/addpharmacist', params)
}

export function deletePharmacist(params) {
    return request.get('/pharmacist/deletePharmacist', { params })
}

export function editPharmacist(params) {
    return request.post('/pharmacist/editPharmacist', params)
}

export function searchPharmacist(params) {
    return request.get('/pharmacist/searchPha', { params })
}